<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<title>表单验证</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<script type='text/javascript' src='js/jquery.js'></script>
<script type='text/javascript' src='js/jquery.validate.min.js'></script>
<script type='text/javascript' src='js/formvalidate.js'></script>
<!-- <script type='text/javascript' src='js/messages_cn.js'></script> -->
<script type='text/javascript'>

</script>
</head>
<body>
  <form action="123.action" name="formvalidate" id="formvalidate">
<table>
   <tr>
   <td>用户名:</td>
   <td><input type="text" name="user_name" id="user_name" value=" "/></td>
   </tr>
    <tr>
   <td>密&emsp;码:</td>
   <td><input type="password" name="password1" id="password1" value=""/></td>
   </tr>
   <tr>
   <td colspan="2"><input type="submit" value="提交"/></td>
   </tr>
</table>
</form>
</body>
</html>